home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-1998 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: DocumentTemplate
- @Method: getMultilineStartComment - this method returns the string that
- starts a multiline comment. The default string is "/*".
- @Syntax: documentTemplate.getMultilineStartComment()
- @Summary: getMultilineStartComment - returns the string that starts a multiline comment
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("documentTemplate.getMultilineStartComment()", selection);
- editor.setActive("Insert documentTemplate.getMultilineStartComment");
- }
- }
-
- !!/Script
-